package com.onec.service.api.service.route;

import com.onec.service.api.dto.request.route.RouteReq;
import com.onec.service.api.dto.response.route.RouteResp;
import com.onec.service.api.enums.ServiceTradeEnum;

public interface RouteRiskApiService {

    /**
     * 交易风控限制：
     *
     * @param routeReq
     * @return
     */
    RouteResp getRouteByTradeRisk(RouteReq routeReq);

    /**
     * 商户风控限制：
     *
     * @param routeReq
     * @return
     */
    RouteResp getRouteByCustomerRisk(RouteReq routeReq);

    /**
     * 商户风控限制：
     *
     * @param routeReq
     * @return
     */
    RouteResp getNeedRegisterChannelList(RouteReq routeReq);

    /**
     * 商户风控限制：
     *
     * @param routeReq
     * @return
     */
    boolean addRiskRouteInfo(RouteReq routeReq, ServiceTradeEnum serviceTradeEnum);
}
